<?php
// +----------------------------------------------------------------------
// | 默认首页
// +----------------------------------------------------------------------
// | Author: 李乾坤 <261001642@qq.com>
// +----------------------------------------------------------------------
import("ORG.Util.Session");
class PcsAction extends BaseAction {
    public function index(){
        $qc = new QC($_SESSION['access_token'],$_SESSION['openid']);
        $arr=array(
            "sha" => 0,
            "md5" => 0,
            "size" => 0,
            "name"=>time().'.file',
            "upload_type"=>"control"
        ),
        $ret=$qc->upload_file($arr);
        print_r($ret);
    }
}

?>